<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="/common/commonCSS.jsp" %>
	<%@include file="/common/commonJS.jsp" %>
	<%@include file="/WEB-INF/jsp/include/taglib.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<title>${surveyName }</title>
<link href="${ctx }/css/response.css" rel="stylesheet" type="text/css" />
</head>
<body style="background: rgb(245, 245, 245);">
	<div class="root-body" style="padding-top: 80px;">
		<div class="middle-body" style="padding-top:10px;">
			
			<div class="middle-body-content" style="text-align: center;">
				<p class="msg1" style="font-size: 36px;">
					问卷提交成功，感谢您的支持！<br/>
				</p>

			</div>
			<div class="middle-body-content" style="text-align: center;padding-top:20px;">
				<button id="backAnswerList" onclick="backAnswerList()">返回列表</button>
			</div>
		</div>
		
	</div>
	
</body>
<
<script>
    var t=5;//设定跳转的时间
    setInterval("refer()",1000); //启动1秒定时
    function refer(){
        if(t==0){
            window.location.href='${webRoot}/questionnaire/answerList'
        }
        document.getElementById('backAnswerList').innerHTML=""+t+"秒后返回问卷作答列表"; // 显示倒计时
        t--; // 计数器递减
        //本文转自：
    }
	function backAnswerList() {
		window.location.href='${webRoot}/questionnaire/answerList'
    }
</script>
</html>